<style>

</style>
<template>
        <section class="app-list text-center">
            <ul>
                <li class="fl">
                    <a href="#/message">
                        <span class="radius img-box"><img style="width: 100%;display: inherit;" src="../assets/images/icon11.png" alt=""></span>
                        <p>消息管理</p>
                    </a>
                </li>
                <li class="fl">
                    <a href="#/drugstore">
                        <span class="radius img-box"><img style="width: 100%;display: inherit;" src="../assets/images/icon5.png" alt=""></span>
                        <p>药店管理</p>
                    </a>
                </li>
                <li class="fl">
                    <a href="#/drugorder">
                        <span class="radius img-box"><img style="width: 100%;display: inherit;" src="../assets/images/icon4.png" alt=""></span>
                        <p>药品订单</p>
                    </a>
                </li>

                <li class="fl">
                    <a href="#/physical">
                        <span class="radius img-box"><img style="width: 100%;display: inherit;" src="../assets/images/icon7.png" alt=""></span>
                        <p>体检管理</p>
                    </a>
                </li>
                <li class="fl">
                    <a href="#/appointment">
                        <span class="radius img-box"><img style="width: 100%;display: inherit;" src="../assets/images/icon6.png" alt=""></span>
                        <p>预约管理</p>
                    </a>
                </li>
                <li class="fl">
                    <a href="#/goods">
                        <span class="radius img-box"><img style="width: 100%;display: inherit;" src="../assets/images/icon8.png" alt=""></span>
                        <p>商品管理</p>
                    </a>
                </li>
                <li class="fl">
                    <a href="#/order">
                        <span class="radius img-box"><img style="width: 100%;display: inherit;" src="../assets/images/icon4.png" alt=""></span>
                        <p>订单管理</p>
                    </a>
                </li>
                <li class="fl">
                    <a href="#/vedio">
                        <span class="radius img-box"><img style="width: 100%;display: inherit;" src="../assets/images/icon2.png" alt=""></span>
                        <p>视频管理</p>
                    </a>
                </li>
                <li class="fl">
                    <a href="#/application">
                        <span class="radius img-box"><img style="width: 100%;display: inherit;" src="../assets/images/icon9.png" alt=""></span>
                        <p>应用管理</p>
                    </a>
                </li>
                <li class="fl">
                    <a href="#/background">
                        <span class="radius img-box"><img style="width: 100%;display: inherit;" src="../assets/images/icon10.png" alt=""></span>
                        <p>背景管理</p>
                    </a>
                </li>
                <li class="fl">
                    <a href="#/admin">
                        <span class="radius img-box"><img style="width: 100%;display: inherit;" src="../assets/images/icon12.png" alt=""></span>
                        <p>客户管理</p>
                    </a>
                </li>
                <li class="fl">
                    <a href="#/users">
                        <span class="radius img-box"><img style="width: 100%;display: inherit;" src="../assets/images/icon3.png" alt=""></span>
                        <p>用户管理</p>
                    </a>
                </li>
            </ul>
        </section>
        <section class="clearfix content">
            <div class="fl history">
            </div>
            <div class="fr admin-box">
                <a href="javascript:void(0)" @click="logout">退出工作区</a>
            </div>
        </section>
</template>
<script>
    module.exports = {
        data: function() {
            return {
                list:[],
                pageNo:1,
                pageSize:VIE.pageSize,
                totalPage:'',
                pages:[],
                param:{},
                show:true,
            }
        },
        methods: {
            toggle:function(){
              this.show = !this.show;
            },
            render: function(){
            },
            success: function(data) {

            },
            error: function(xhr, type){

            },
            logout: function(){
                sessionStorage.removeItem("key");
                router.go("login");
            }
        },
        ready: function() {

            var _this = this;
            var loads = function(){
                _this.render();
            }
            var name = window.location.hash.split('?')[0].replace("#/","");
            if(!name){
                name = "user";
            }
            if(!router.fn[name]){
                loads();
                router.fn[name] = loads;
            }
        }
    };

</script>